#ifndef CACULATEDIALOG_H
#define CACULATEDIALOG_H

#include <QDialog>
#include <QLabel>
#include <QPushButton>
#include <QLineEdit>
#include <QHBoxLayout>
#include <QDoubleValidator>
#include <QString>


class CaculateDialog : public QDialog
{
    Q_OBJECT

public:
    CaculateDialog();
private:
    QLineEdit *m_editx;
    QLineEdit *m_edity;
    QLineEdit *m_editz;

    QLabel *m_label;
    QPushButton *m_btn;



public slots:
    void enableButton(void);
    void calcClicked(void);


};

#endif // CACULATEDIALOG_H
